import BaseService from "../base/BaseService";


const tableName="sys_user"

class SysUserService extends BaseService{

  constructor(){
    super(tableName);
  }

  login(user){
    return (user&&user.userName=='admin')?user:null
    //return super.queryOne(tableName,user)||false;
  }


}

export default new SysUserService();
